<template>
    <el-container style="height: 100%; border: 1px solid #eee ">
        <el-aside width="200px" style="background-color: rgb(238, 241, 246)">
            <AsidePage></AsidePage>
        </el-aside>

        <el-container>
            <el-header style="text-align: right; font-size: 12px;border-bottom: rgba(169,169,169,0.3) 1px solid">
                <HeaderPage></HeaderPage>
            </el-header>


            <el-main style="height: 100vh">
<!--                <MainPage></MainPage>-->
                <router-view></router-view>
            </el-main>
        </el-container>
    </el-container>
</template>

<script>
import AsidePage from "@/components/AsidePage.vue";
import HeaderPage from "@/components/HeaderPage.vue";
//import MainPage from "@/components/MainPage.vue";

export default {
    name: "IndexPage",
    components: {
         AsidePage, HeaderPage,
    },

}
</script>

<style scoped>
.el-header {
    //background-color: #B3C0D1;
    color: #333;
    line-height: 60px;
}

.el-aside {
    color: #333;
}
</style>